<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>李白 - 诗人详情 - 古韵新境</title>
    <!-- 引入外部资源 -->
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script>
    
    <!-- 配置Tailwind -->
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        ink: '#333333',
                        cinnabar: '#c41e3a',
                        rice: '#f5f2ea',
                        lightink: '#666666',
                        paper: '#f9f6f0',
                    },
                    fontFamily: {
                        song: ['"Noto Serif SC"', 'serif'],
                        kai: ['"Noto Serif SC"', 'serif'],
                        sans: ['"Noto Sans SC"', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    
    <!-- 自定义工具类 -->
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .timeline-dot {
                @apply absolute w-4 h-4 rounded-full bg-cinnabar left-0 md:left-1/2 transform -translate-x-1/2 border-4 border-paper z-10;
            }
            .timeline-line {
                @apply absolute w-0.5 bg-gray-300 left-0 md:left-1/2 top-0 bottom-0 transform -translate-x-1/2;
            }
            .poem-card-hover {
                transition: all 0.4s ease;
            }
            .poem-card-hover:hover {
                transform: translateY(-8px);
                box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
            }
        }
    </style>
    
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&family=Noto+Serif+SC:wght@400;600;700;900&display=swap');
        
        /* 滚动动画 */
        .scroll-reveal {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        
        .scroll-reveal.active {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* 标签样式 */
        .poet-tag {
            transition: all 0.3s ease;
        }
        
        .poet-tag:hover {
            transform: scale(1.05);
        }
    </style>
</head>

<body class="bg-rice text-ink font-sans">
    <!-- 导航栏 -->
    <header id="main-nav" class="fixed top-0 left-0 w-full z-50 transition-all duration-500 py-4">
        <div class="container mx-auto px-4 md:px-8 flex justify-between items-center">
            <!-- Logo -->
            <a href="index.html" class="flex items-center space-x-2">
                <div class="w-10 h-10 rounded-full bg-cinnabar flex items-center justify-center">
                    <span class="text-rice font-kai text-xl">古</span>
                </div>
                <span class="text-xl md:text-2xl font-song font-bold">古韵新境</span>
            </a>
            
            <!-- 桌面导航 -->
            <nav class="hidden md:flex items-center space-x-8">
                <a href="index.html" class="font-song hover:text-cinnabar transition-colors duration-300">首页</a>
                <a href="poems.html" class="font-song text-cinnabar border-b-2 border-cinnabar pb-1">诗境</a>
                <a href="classics.html" class="font-song hover:text-cinnabar transition-colors duration-300">典籍</a>
                <a href="interactive.html" class="font-song hover:text-cinnabar transition-colors duration-300">互动</a>
                <a href="about.html" class="font-song hover:text-cinnabar transition-colors duration-300">关于</a>
                <button class="bg-cinnabar text-rice px-5 py-2 rounded-full hover:bg-opacity-90 transition-all duration-300 transform hover:scale-105">
                    登录 / 注册
                </button>
            </nav>
            
            <!-- 移动端菜单按钮 -->
            <button id="mobile-menu-btn" class="md:hidden text-ink focus:outline-none">
                <i class="fa fa-bars text-2xl"></i>
            </button>
        </div>
        
        <!-- 移动端菜单 -->
        <div id="mobile-menu" class="md:hidden hidden bg-paper shadow-lg absolute top-full left-0 w-full">
            <div class="container mx-auto px-4 py-4 flex flex-col space-y-4">
                <a href="index.html" class="font-song py-2 hover:text-cinnabar transition-colors">首页</a>
                <a href="poems.html" class="font-song py-2 text-cinnabar">诗境</a>
                <a href="classics.html" class="font-song py-2 hover:text-cinnabar transition-colors">典籍</a>
                <a href="interactive.html" class="font-song py-2 hover:text-cinnabar transition-colors">互动</a>
                <a href="about.html" class="font-song py-2 hover:text-cinnabar transition-colors">关于</a>
                <button class="bg-cinnabar text-rice px-5 py-2 rounded-full hover:bg-opacity-90 transition-all">
                    登录 / 注册
                </button>
            </div>
        </div>
    </header>

    <main class="pt-24 pb-16">
        <!-- 路径导航 -->
        <section class="container mx-auto px-4 mb-8 text-sm text-lightink scroll-reveal">
            <a href="index.html" class="hover:text-cinnabar transition-colors">首页</a>
            <span class="mx-2"><i class="fa fa-angle-right"></i></span>
            <a href="poems.html" class="hover:text-cinnabar transition-colors">诗境</a>
            <span class="mx-2"><i class="fa fa-angle-right"></i></span>
            <span>李白</span>
        </section>
        
        <!-- 诗人基本信息 -->
        <section class="container mx-auto px-4 mb-16">
            <div class="bg-paper rounded-2xl overflow-hidden shadow-sm scroll-reveal">
                <div class="grid grid-cols-1 md:grid-cols-3">
                    <div class="p-8 md:p-10 flex flex-col items-center justify-center border-b md:border-b-0 md:border-r border-gray-200">
                        <div class="w-48 h-48 md:w-64 md:h-64 rounded-full overflow-hidden border-4 border-cinnabar/20 mb-6">
                            <img src="https://picsum.photos/id/64/400/400" alt="李白头像" class="w-full h-full object-cover">
                        </div>
                        <h1 class="text-3xl md:text-4xl font-song font-bold mb-2">李白</h1>
                        <p class="text-cinnabar font-kai text-lg mb-4">诗仙</p>
                        <div class="flex flex-wrap justify-center gap-2 mb-6">
                            <span class="bg-ink/10 text-ink text-sm px-3 py-1 rounded-full">唐代</span>
                            <span class="bg-ink/10 text-ink text-sm px-3 py-1 rounded-full">浪漫主义</span>
                            <span class="bg-ink/10 text-ink text-sm px-3 py-1 rounded-full">豪放派</span>
                        </div>
                        <div class="flex space-x-4">
                            <button class="w-10 h-10 rounded-full bg-cinnabar/10 flex items-center justify-center text-cinnabar hover:bg-cinnabar hover:text-rice transition-colors">
                                <i class="fa fa-heart-o"></i>
                            </button>
                            <button class="w-10 h-10 rounded-full bg-cinnabar/10 flex items-center justify-center text-cinnabar hover:bg-cinnabar hover:text-rice transition-colors">
                                <i class="fa fa-bookmark-o"></i>
                            </button>
                            <button class="w-10 h-10 rounded-full bg-cinnabar/10 flex items-center justify-center text-cinnabar hover:bg-cinnabar hover:text-rice transition-colors">
                                <i class="fa fa-share-alt"></i>
                            </button>
                        </div>
                    </div>
                    
                    <div class="p-8 md:p-10 md:col-span-2">
                        <h2 class="text-2xl font-song font-bold mb-6 flex items-center">
                            <i class="fa fa-user-circle text-cinnabar mr-3"></i>诗人简介
                        </h2>
                        <p class="font-song text-ink/80 mb-4 leading-relaxed">
                            李白（701年－762年），字太白，号青莲居士，又号“谪仙人”，是唐代伟大的浪漫主义诗人，被后人誉为“诗仙”，与杜甫并称为“李杜”。其人爽朗大方，爱饮酒作诗，喜交友。
                        </p>
                        <p class="font-song text-ink/80 mb-4 leading-relaxed">
                            李白深受黄老列庄思想影响，有《李太白集》传世，诗作中多以醉时写的，代表作有《望庐山瀑布》《行路难》《蜀道难》《将进酒》《梁甫吟》《早发白帝城》等多首。
                        </p>
                        <p class="font-song text-ink/80 leading-relaxed">
                            李白的诗歌对后代产生了极为深远的影响。中唐的韩愈、孟郊、李贺，宋代的苏轼、陆游、辛弃疾，明清的高启、杨慎、龚自珍等著名诗人，都受到李白诗歌的巨大影响。
                        </p>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 生平时间线 -->
        <section class="container mx-auto px-4 mb-16 scroll-reveal">
            <h2 class="text-2xl font-song font-bold mb-8 text-center">生平轨迹</h2>
            <div class="relative">
                <!-- 时间线 -->
                <div class="timeline-line"></div>
                
                <!-- 时间点1 -->
                <div class="relative pl-8 md:pl-0 md:text-center mb-12">
                    <div class="timeline-dot top-0"></div>
                    <div class="md:w-1/2 md:ml-auto md:pr-8">
                        <h3 class="text-lg font-song font-bold mb-2">701年 出生</h3>
                        <p class="text-ink/80">生于碎叶城（今吉尔吉斯斯坦境内），祖籍陇西成纪（今甘肃天水）。</p>
                    </div>
                </div>
                
                <!-- 时间点2 -->
                <div class="relative pl-8 md:pl-0 md:text-center mb-12">
                    <div class="timeline-dot top-0"></div>
                    <div class="md:w-1/2 md:mr-auto md:pl-8">
                        <h3 class="text-lg font-song font-bold mb-2">725年 出蜀漫游</h3>
                        <p class="text-ink/80">离开蜀地，开始漫游生涯，足迹遍布长江中下游地区。</p>
                    </div>
                </div>
                
                <!-- 时间点3 -->
                <div class="relative pl-8 md:pl-0 md:text-center mb-12">
                    <div class="timeline-dot top-0"></div>
                    <div class="md:w-1/2 md:ml-auto md:pr-8">
                        <h3 class="text-lg font-song font-bold mb-2">742年 供奉翰林</h3>
                        <p class="text-ink/80">应唐玄宗征召，入长安为供奉翰林，期间创作大量诗歌。</p>
                    </div>
                </div>
                
                <!-- 时间点4 -->
                <div class="relative pl-8 md:pl-0 md:text-center">
                    <div class="timeline-dot top-0"></div>
                    <div class="md:w-1/2 md:mr-auto md:pl-8">
                        <h3 class="text-lg font-song font-bold mb-2">762年 逝世</h3>
                        <p class="text-ink/80">病逝于当涂（今安徽马鞍山），享年61岁。</p>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 代表作品 -->
        <section class="container mx-auto px-4 mb-16">
            <h2 class="text-2xl font-song font-bold mb-8 text-center scroll-reveal">代表作品</h2>
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
                <!-- 作品1 -->
                <a href="poem-detail.html" class="bg-paper rounded-xl overflow-hidden shadow-sm poem-card-hover scroll-reveal">
                    <div class="relative h-48 overflow-hidden">
                        <img src="https://picsum.photos/id/29/600/400" alt="静夜思场景图" class="w-full h-full object-cover transition-transform duration-700 hover:scale-110">
                        <div class="absolute top-3 left-3 bg-cinnabar text-rice text-sm px-3 py-1 rounded-full">五言绝句</div>
                    </div>
                    <div class="p-6">
                        <h3 class="text-xl font-song font-bold mb-2">静夜思</h3>
                        <p class="font-kai text-ink/80 mb-4">床前明月光，疑是地上霜。举头望明月，低头思故乡。</p>
                        <button class="text-cinnabar hover:text-cinnabar/80 transition-colors">
                            查看详情 <i class="fa fa-angle-right ml-1"></i>
                        </button>
                    </div>
                </a>
                
                <!-- 作品2 -->
                <a href="poem-detail.html" class="bg-paper rounded-xl overflow-hidden shadow-sm poem-card-hover scroll-reveal">
                    <div class="relative h-48 overflow-hidden">
                        <img src="https://picsum.photos/id/110/600/400" alt="望庐山瀑布场景图" class="w-full h-full object-cover transition-transform duration-700 hover:scale-110">
                        <div class="absolute top-3 left-3 bg-cinnabar text-rice text-sm px-3 py-1 rounded-full">七言绝句</div>
                    </div>
                    <div class="p-6">
                        <h3 class="text-xl font-song font-bold mb-2">望庐山瀑布</h3>
                        <p class="font-kai text-ink/80 mb-4">日照香炉生紫烟，遥看瀑布挂前川。飞流直下三千尺，疑是银河落九天。</p>
                        <button class="text-cinnabar hover:text-cinnabar/80 transition-colors">
                            查看详情 <i class="fa fa-angle-right ml-1"></i>
                        </button>
                    </div>
                </a>
                
                <!-- 作品3 -->
                <a href="poem-detail.html" class="bg-paper rounded-xl overflow-hidden shadow-sm poem-card-hover scroll-reveal">
                    <div class="relative h-48 overflow-hidden">
                        <img src="https://picsum.photos/id/135/600/400" alt="将进酒场景图" class="w-full h-full object-cover transition-transform duration-700 hover:scale-110">
                        <div class="absolute top-3 left-3 bg-cinnabar text-rice text-sm px-3 py-1 rounded-full">乐府诗</div>
                    </div>
                    <div class="p-6">
                        <h3 class="text-xl font-song font-bold mb-2">将进酒</h3>
                        <p class="font-kai text-ink/80 mb-4">君不见黄河之水天上来，奔流到海不复回。君不见高堂明镜悲白发，朝如青丝暮成雪。</p>
                        <button class="text-cinnabar hover:text-cinnabar/80 transition-colors">
                            查看详情 <i class="fa fa-angle-right ml-1"></i>
                        </button>
                    </div>
                </a>
            </div>
            
            <div class="text-center mt-10 scroll-reveal">
                <a href="poems.html?author=李白" class="inline-block border-2 border-cinnabar text-cinnabar px-6 py-3 rounded-full hover:bg-cinnabar hover:text-rice transition-all duration-300">
                    查看全部作品 <i class="fa fa-arrow-right ml-2"></i>
                </a>
            </div>
        </section>
        
        <!-- 相关诗人 -->
        <section class="container mx-auto px-4 mb-16">
            <h2 class="text-2xl font-song font-bold mb-8 text-center scroll-reveal">相关诗人</h2>
            <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-5 gap-6">
                <!-- 诗人1 -->
                <a href="poet-detail.html" class="text-center group scroll-reveal">
                    <div class="relative w-32 h-32 mx-auto mb-3 rounded-full overflow-hidden border-2 border-transparent group-hover:border-cinnabar transition-all duration-300">
                        <img src="https://picsum.photos/id/65/200/200" alt="杜甫头像" class="w-full h-full object-cover">
                    </div>
                    <h3 class="font-song font-medium group-hover:text-cinnabar transition-colors">杜甫</h3>
                    <p class="text-xs text-lightink">诗圣</p>
                </a>
                
                <!-- 诗人2 -->
                <a href="poet-detail.html" class="text-center group scroll-reveal">
                    <div class="relative w-32 h-32 mx-auto mb-3 rounded-full overflow-hidden border-2 border-transparent group-hover:border-cinnabar transition-all duration-300">
                        <img src="https://picsum.photos/id/66/200/200" alt="王维头像" class="w-full h-full object-cover">
                    </div>
                    <h3 class="font-song font-medium group-hover:text-cinnabar transition-colors">王维</h3>
                    <p class="text-xs text-lightink">诗佛</p>
                </a>
                
                <!-- 诗人3 -->
                <a href="poet-detail.html" class="text-center group scroll-reveal">
                    <div class="relative w-32 h-32 mx-auto mb-3 rounded-full overflow-hidden border-2 border-transparent group-hover:border-cinnabar transition-all duration-300">
                        <img src="https://picsum.photos/id/67/200/200" alt="孟浩然头像" class="w-full h-full object-cover">
                    </div>
                    <h3 class="font-song font-medium group-hover:text-cinnabar transition-colors">孟浩然</h3>
                    <p class="text-xs text-lightink">山水田园</p>
                </a>
                
                <!-- 诗人4 -->
                <a href="poet-detail.html" class="text-center group scroll-reveal">
                    <div class="relative w-32 h-32 mx-auto mb-3 rounded-full overflow-hidden border-2 border-transparent group-hover:border-cinnabar transition-all duration-300">
                        <img src="https://picsum.photos/id/68/200/200" alt="高适头像" class="w-full h-full object-cover">
                    </div>
                    <h3 class="font-song font-medium group-hover:text-cinnabar transition-colors">高适</h3>
                    <p class="text-xs text-lightink">边塞诗人</p>
                </a>
                
                <!-- 诗人5 -->
                <a href="poet-detail.html" class="text-center group scroll-reveal">
                    <div class="relative w-32 h-32 mx-auto mb-3 rounded-full overflow-hidden border-2 border-transparent group-hover:border-cinnabar transition-all duration-300">
                        <img src="https://picsum.photos/id/69/200/200" alt="王昌龄头像" class="w-full h-full object-cover">
                    </div>
                    <h3 class="font-song font-medium group-hover:text-cinnabar transition-colors">王昌龄</h3>
                    <p class="text-xs text-lightink">七绝圣手</p>
                </a>
            </div>
        </section>
    </main>

    <!-- 页脚 -->
    <footer class="bg-ink text-rice py-12">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
                <div>
                    <div class="flex items-center space-x-2 mb-6">
                        <div class="w-10 h-10 rounded-full bg-cinnabar flex items-center justify-center">
                            <span class="text-rice font-kai text-xl">古</span>
                        </div>
                        <span class="text-xl font-song font-bold">古韵新境</span>
                    </div>
                    <p class="text-rice/70 mb-6">让古典文学活起来，用现代方式感受传统文化魅力</p>
                    <div class="flex space-x-4">
                        <a href="#" class="text-rice/70 hover:text-cinnabar transition-colors">
                            <i class="fa fa-weibo text-xl"></i>
                        </a>
                        <a href="#" class="text-rice/70 hover:text-cinnabar transition-colors">
                            <i class="fa fa-wechat text-xl"></i>
                        </a>
                        <a href="#" class="text-rice/70 hover:text-cinnabar transition-colors">
                            <i class="fa fa-instagram text-xl"></i>
                        </a>
                        <a href="#" class="text-rice/70 hover:text-cinnabar transition-colors">
                            <i class="fa fa-twitter text-xl"></i>
                        </a>
                    </div>
                </div>
                
                <div>
                    <h4 class="text-lg font-song font-bold mb-6">快速链接</h4>
                    <ul class="space-y-3">
                        <li><a href="index.html" class="text-rice/70 hover:text-cinnabar transition-colors">首页</a></li>
                        <li><a href="poems.html" class="text-rice/70 hover:text-cinnabar transition-colors">诗境</a></li>
                        <li><a href="classics.html" class="text-rice/70 hover:text-cinnabar transition-colors">典籍</a></li>
                        <li><a href="interactive.html" class="text-rice/70 hover:text-cinnabar transition-colors">互动体验</a></li>
                        <li><a href="about.html" class="text-rice/70 hover:text-cinnabar transition-colors">关于我们</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-lg font-song font-bold mb-6">互动功能</h4>
                    <ul class="space-y-3">
                        <li><a href="soundscape.html" class="text-rice/70 hover:text-cinnabar transition-colors">声景体验</a></li>
                        <li><a href="painting.html" class="text-rice/70 hover:text-cinnabar transition-colors">诗画创作</a></li>
                        <li><a href="dialogue.html" class="text-rice/70 hover:text-cinnabar transition-colors">古今对话</a></li>
                        <li><a href="#" class="text-rice/70 hover:text-cinnabar transition-colors">用户作品</a></li>
                        <li><a href="#" class="text-rice/70 hover:text-cinnabar transition-colors">互动评论</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-lg font-song font-bold mb-6">联系我们</h4>
                    <ul class="space-y-3">
                        <li class="flex items-start">
                            <i class="fa fa-envelope-o mt-1 mr-3 text-cinnabar"></i>
                            <span class="text-rice/70">contact@guyunxinjing.com</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-phone mt-1 mr-3 text-cinnabar"></i>
                            <span class="text-rice/70">+86 123 4567 8910</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-map-marker mt-1 mr-3 text-cinnabar"></i>
                            <span class="text-rice/70">北京市海淀区中关村大街1号</span>
                        </li>
                    </ul>
                </div>
            </div>
            
            <div class="border-t border-rice/20 pt-8 text-center text-rice/50 text-sm">
                <p>© 2023 古韵新境 版权所有 | 京ICP备12345678号</p>
            </div>
        </div>
    </footer>

    <script>
        // 移动端菜单切换
        $('#mobile-menu-btn').click(function() {
            $('#mobile-menu').toggleClass('hidden');
        });
        
        // 滚动动画
        $(window).scroll(function() {
            $('.scroll-reveal').each(function() {
                const windowHeight = $(window).height();
                const elementTop = $(this).offset().top;
                const elementVisible = 150;
                
                if (elementTop < windowHeight - elementVisible) {
                    $(this).addClass('active');
                }
            });
        });
        
        // 初始触发一次滚动检查
        $(window).trigger('scroll');
        
        // 导航栏滚动效果
        $(window).scroll(function() {
            if ($(window).scrollTop() > 50) {
                $('#main-nav').addClass('bg-paper shadow-md py-2');
                $('#main-nav').removeClass('py-4');
            } else {
                $('#main-nav').removeClass('bg-paper shadow-md py-2');
                $('#main-nav').addClass('py-4');
            }
        });
    </script>
</body>
</html>